OPC Studio User's Guide and Reference
ToUAAttributeDataResult Method (EasyUADataChangeNotificationEventArgs<TValue>)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Generic Namespace > EasyUADataChangeNotificationEventArgs<TValue> Class : ToUAAttributeDataResult Method
The typed event arguments to be converted.
Converts typed event arguments to a corresponding typed result object, UAAttributeDataResult<T>.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<ContractAnnotationAttribute("null => null; notnull => notnull")>
Public Shared Function ToUAAttributeDataResult( _
   ByVal eventArgs As EasyUADataChangeNotificationEventArgs(Of TValue) _
) As UAAttributeDataResult(Of TValue)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public static UAAttributeDataResult<TValue> ToUAAttributeDataResult( 
   EasyUADataChangeNotificationEventArgs<TValue> eventArgs
)
[CanBeNull()]
[ContractAnnotation("null => null; notnull => notnull")]
public:
static UAAttributeDataResult<TValue^>^ ToUAAttributeDataResult( 
   EasyUADataChangeNotificationEventArgs<TValue^>^ eventArgs
) 

Parameters

eventArgs
The typed event arguments to be converted.

Return Value

The typed result object that corresponds to the event arguments. null if the event arguments passed in were null.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also